using System;
using System.Xml.Linq;

namespace NetQueryLib.Expressions
{
	public abstract class SelectorExpression
	{
		protected SelectorExpression(string selector)
		{
			Selector = selector;
		}

		public abstract bool Filter(XElement element);
		public string Selector { get; private set; }
	}
}